package com.hk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hk.domain.SysMenu;
import com.hk.vo.TreeVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    List<TreeVo> selectOrgTree(); // 查询根节点
    List<TreeVo> selectChildrenByParentId(Long parentId); // 根据父节点ID查询子节点
}
